package weifei.wx.community.entity.dto;


import lombok.Data;
import weifei.wx.community.entity.TieCommentNotice;

@Data
public class TieCommentNoticeDTO
{
    private Long id;
    private TieDTO tieDTO;
    private TieCommentDTO tieCommentDTO;

    public TieCommentNoticeDTO(
            TieCommentNotice notice,
            TieDTO tieDTO,
            TieCommentDTO tieCommentDTO
        )
    {
        this.id = notice.getId();
        this.tieDTO = tieDTO;
        this.tieCommentDTO = tieCommentDTO;
    }

    public TieCommentNoticeDTO(
            Long id,
            TieDTO tieDTO,
            TieCommentDTO tieCommentDTO
        )
    {
        this.id = id;
        this.tieDTO = tieDTO;
        this.tieCommentDTO = tieCommentDTO;
    }
}


